import type { UserState } from '@/types/users'
import http from '@/api/instance'
const ENV_PREFIX = import.meta.env.VITE_GLOB_API_URL

/**
 * @name 用户管理模块
 */
//* 获取该用户信息
export const getUserInfo = () => {
  return http.get<UserState>(ENV_PREFIX + `/info`)
}
